package com.ktgj.hotel.domain.dic;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;
import org.apache.ibatis.type.Alias;

/**
 * 【请填写功能名称】对象 dic_county
 * 
 * @author ruoyi
 * @date 2021-10-28
 */
@Alias("DicCountys")
public class DicCounty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 城市id */
    @Excel(name = "城市id")
    private Long cityId;

    /** 县名 */
    @Excel(name = "县名")
    private String countyName;

    /** 拼音 */
    @Excel(name = "拼音")
    private String pinYin;

    /** 简称 */
    @Excel(name = "简称")
    private String shortName;

    /** 合并名称 */
    @Excel(name = "合并名称")
    private String mergerName;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String zipCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }
    public void setCountyName(String countyName) 
    {
        this.countyName = countyName;
    }

    public String getCountyName() 
    {
        return countyName;
    }
    public void setPinYin(String pinYin) 
    {
        this.pinYin = pinYin;
    }

    public String getPinYin() 
    {
        return pinYin;
    }
    public void setShortName(String shortName) 
    {
        this.shortName = shortName;
    }

    public String getShortName() 
    {
        return shortName;
    }
    public void setMergerName(String mergerName) 
    {
        this.mergerName = mergerName;
    }

    public String getMergerName() 
    {
        return mergerName;
    }
    public void setZipCode(String zipCode) 
    {
        this.zipCode = zipCode;
    }

    public String getZipCode() 
    {
        return zipCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cityId", getCityId())
            .append("countyName", getCountyName())
            .append("pinYin", getPinYin())
            .append("shortName", getShortName())
            .append("mergerName", getMergerName())
            .append("zipCode", getZipCode())
            .toString();
    }
}
